

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>试卷管理</title>
    <#include "/common/link.ftl">

</head>
<body class="hold-transition skin-black sidebar-mini">
<div class="wrapper">
    <#include "/common/navbar.ftl">
    <#assign currentMenu="exam"/>
    <#include "/common/menu.ftl">
    <div class="content-wrapper">
        <section class="content-header">
            <h1>试卷预览</h1>
        </section>
        <section class="content">
            <div class="box" style="padding: 10px">
                <div class="row">

                    <div class="col-md-offset-4 col-md-8">
                        <h1 class="col-md-offset-1">49期Java试卷</h1>
                    </div>
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-body">
                                <div class="col-md-4">时间：90分钟 </div>
                                <div class="col-md-4">总分：100分</div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3>一、单选题（共${totalScore}分）</h3>
                    </div>
                    <#list list as map>
                        <div class="panel-body">
                            <p>${map_index+1}.${map["题目标题"]}<span>（${map["题目分数"]}分）</span></p>
                            <#list map["题目选项"] as option>
                                <p>${option}</p>
                            </#list>
                            <div style="color:red">正确答案：${map["题目答案"]}</div>
<#--                                <script>-->
<#--                                    $.get('/question/findItems?questionId='+${q.question.id},function (data) {-->
<#--                                        console.log(data);-->
<#--                                        $.each(data,function (index,ele) {-->
<#--                                            var p = '<p>'+ ele.title +'</p>'-->
<#--                                            $("#title").append(p)-->
<#--                                        })-->
<#--                                    })-->
<#--                                </script>-->
                        </div>
                    </#list>

                    <div class="panel-heading">
                        <h3>二、多选题（共${totalScore2}分）</h3>
                    </div>
                    <#list list2 as map>
                        <div class="panel-body">
                            <p>${map_index+1}.${map["题目标题"]}<span>（${map["题目分数"]}分）</span></p>
                            <#list map["题目选项"] as option>
                                <p>${option}</p>
                            </#list>
                            <div style="color:red">正确答案：${map["题目答案"]}</div>
                        </div>
                    </#list>
                    <div class="panel-heading">
                        <h3>三、判断题（共${totalScore3}分）</h3>
                    </div>
                    <#list list3 as map>
                        <div class="panel-body">
                            <p>${map_index+1}.${map["题目标题"]}<span>（${map["题目分数"]}分）</span></p>
                            <#list map["题目选项"] as option>
                                <p>${option}</p>
                            </#list>
                            <div style="color:red">正确答案：${map["题目答案"]}</div>
                        </div>
                    </#list>

                </div>
            </div>
        </section>
    </div>
    <#include "/common/footer.ftl">
</div>

</body>
</html>
